Page({
  data: {
    PWD: "设置"
  },

  onLoad: function (options) {
    wx.setNavigationBarTitle({
      title: "支付安全"
    }) 
  },

  onShow: function(){
    var UserInfor = wx.getStorageSync('UserInfor').mobile;
    if (UserInfor != null){
      this.setData({
        PWD: "修改"
      })
    }
  },

  // 设置支付密码
  SetPWD: function () {
    wx.navigateTo({
      url: '../SetPWD/SetPWD',
    })
  },
})